package top.toptimus.dto.pmc;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 生产批
 *
 * @author gaoyu
 */
@Data
@NoArgsConstructor
public class WIPBatchDTO {
    private String batchNo;  //  生产批次号
    private Date batchDate; //  生产批次开立时间
    private String batchStatus; //  生产批状态 @See  top.toptimus.constValue.PMCLotStatus
    private boolean urgentFlg;  //  加急标识
    private Double batchQuantiry;   //  批次数量

    /**
     * 订单信息
     */
    private String orderId;
    private String orderNo; //  订单号
    private Date orderDate; //  订单时间
    /**
     * 款式信息
     */
    private String styleId;
    private String refStyleId;  //  参考款id
    private String styleSizeCd; //  尺码
    private String styleNameCn; //  款式名称
    /**
     * 面料信息
     */
    private String styleFabricId;//面料id
    private String materialNameCn;//面料描述名称
    private String materialCode;  //面料号
    private String composition;//面料成分
    /**
     * 客户信息
     */
    private String customerId;
    private String customerName;
    private String mobile;
    private String addressId;
    private String addressProvince;//省
    private String addressCity;//市
    private String addressDistrict;//区
    private String addressDetail;//详细地址
    private String zipCode;//邮编
    private String customerCountId;//客户量体id
    /**
     * 客户返单信息
     */
    private String refOrderId;  //  客户返单id
    private String refOrderNo;  //  客户返单号

    public WIPBatchDTO(
            String batchNo,
            Date batchDate,
            String batchStatus,
            boolean urgentFlg,
            Double batchQuantiry,
            String orderId,
            String orderNo,
            Date orderDate,
            String styleId,
            String refStyleId,
            String styleSizeCd,
            String styleNameCn,
            String styleFabricId,
            String materialNameCn,
            String materialCode,
            String composition,
            String customerId,
            String customerName,
            String mobile,
            String addressId,
            String addressProvince,
            String addressCity,
            String addressDistrict,
            String addressDetail,
            String zipCode,
            String customerCountId,
            String refOrderId,
            String refOrderNo
    ) {
        this.batchNo = batchNo;
        this.batchDate = batchDate;
        this.batchStatus = batchStatus;
        this.urgentFlg = urgentFlg;
        this.batchQuantiry = batchQuantiry;
        this.orderId = orderId;
        this.orderNo = orderNo;
        this.orderDate = orderDate;
        this.styleId = styleId;
        this.refStyleId = refStyleId;
        this.styleSizeCd = styleSizeCd;
        this.styleNameCn = styleNameCn;
        this.styleFabricId = styleFabricId;
        this.materialNameCn = materialNameCn;
        this.materialCode = materialCode;
        this.composition = composition;
        this.customerId = customerId;
        this.customerName = customerName;
        this.mobile = mobile;
        this.addressId = addressId;
        this.addressProvince = addressProvince;
        this.addressCity = addressCity;
        this.addressDistrict = addressDistrict;
        this.addressDetail = addressDetail;
        this.zipCode = zipCode;
        this.customerCountId = customerCountId;
        this.refOrderId = refOrderId;
        this.refOrderNo = refOrderNo;
    }
}
